using LifeChess.Entity;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace LifeChess.GamePlay.Test
{
    public class ChessInfoSeek : MonoBehaviour
    {
        public BaseChess curChess;
        public ChessLifeInfoPanel infoPanel;

        private void OnMouseEnter()
        {
            infoPanel.ShowInfoPanel(curChess.ToString());
        }

        private void OnMouseExit()
        {
            infoPanel.HideInfoPanel();
        }
    }
}
